/**
 * @file client entry
 * @author cappyli(cappy.li@gwtsz.net)
 */
//引入模块
import FastClick from 'fastclick';
import "@/common/interceptors";
import Vue from 'vue'
import App from './App.vue'
import router from "./router"

import 'normalize.css'
import '@/scss/common.scss'
// import 'vue-swipe/dist/vue-swipe.css'

/*mock data 生产环境请删除*/
//import "./mockData";

//引入第三方模块
// import { Swipe, SwipeItem } from 'vue-swipe'
import VueScroller from 'vue-scroller'
import Navigation from 'vue-navigation'
//loading
import '@/services/loading'
import '@/services/dialog'
//弹窗

require('es6-promise').polyfill();

//初始化第三方模块

FastClick.attach(document.body);
Vue.use(VueScroller);
Vue.use(Navigation, {router,keyName: 'nav'})

// Vue.component('swipe', Swipe);
// Vue.component('swipe-item', SwipeItem);


const app = new Vue({
    router,
    render: h => h(App)
}).$mount("#app");
